package apis

import (
	"gitee.com/byx_darwin/ncloud-go/core"
	"gitee.com/byx_darwin/ncloud-go/core/net/consts"
)

type QueryIspRequest struct {
	core.NCloudRequest
}

func NewQueryIspRequest() *QueryIspRequest {
	return &QueryIspRequest{
		core.NCloudRequest{
			Path:   "/isp",
			Method: consts.MethodGet,
		},
	}
}

type QueryIspResponse struct {
	Ok      bool    `json:"ok"`
	Msg     string  `json:"msg"`
	Data    IspData `json:"data,omitempty"`
	TrackID string  `json:"track_id"`
}
type IspData struct {
	IspList []string `json:"isp_list"`
}
